package com.itmuch.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;


/**
 * 非对称加密demo
 *
 * 在postman下完成 POST -> Body -> raw 直接将请求内容复制即可
 * 加密：
 * http://localhost:8080/encrypt
 *
 * 解密：
 * http://localhost:8080/dectypt
 *
 */
@SpringBootApplication
@EnableConfigServer
public class ConfigServerEncryptRsaApplication {

	public static void main(String[] args) {
		SpringApplication.run(ConfigServerEncryptRsaApplication.class, args);
	}

}
